package org.zfes.snowier.cloud.zbss.cms.checkFlow.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.checkFlow.model.CmsCheckFlowSteps;
public interface ICmsCheckFlowStepsService{

	 Optional<CmsCheckFlowSteps> loadCmsCheckFlowStepsById(Long id);
	
	 void createCmsCheckFlowSteps(CmsCheckFlowSteps cmsCheckFlowSteps);
	
	 void updateCmsCheckFlowSteps(CmsCheckFlowSteps cmsCheckFlowSteps);

	 void deleteCmsCheckFlowSteps(Long id);
	
	 DataSet loadCmsCheckFlowStepsDataSet(Map<String, Object> params);
	 

 	void setCmsCheckFlowStepsStatus(Long id, Byte status);

	List<CmsCheckFlowSteps> loadCmsCheckFlowStepsList(Long flowId, Long siteId);

	void startProcessStep(Long flowId, Long siteId,Long contentId, Byte status);

	void nextProcessStep(Long stepIndex,Long contentId);

}